package com.csap.framework.oauth2.exception;

import com.csap.framework.oauth2.type.ExceptionType;

/**
 * invalid_client
 *
 * @Author ycf
 * @Date 2021/8/19 5:51 下午
 * @Version 1.0
 */
public class InvalidClientException extends ClientAuthenticationException {
    public InvalidClientException(String msg, Throwable t) {
        super(msg, t);
    }
    public InvalidClientException() {
        super(ExceptionType.invalid_client.getMessage());
    }
    @Override
    public ExceptionType exceptionType() {
        return ExceptionType.invalid_client;
    }
}
